package com.ebupt.migu.music.messageCenter.service;

import com.ebupt.migu.music.common.entity.ResultObject;

import java.util.Map;

/**
 * Created by Intellij IDEA.
 * User:  liuyangyang@cd.ebupt.com
 * Date:  2020/3/9
 */
public interface MessageCenterService {

    /**
     * 创建消息通知类型
     *
     * @param params
     * @return
     */
    ResultObject addNoticeType(Map<String, Object> params);

    /**
     * 更新消息通知类型
     *
     * @param params
     * @return
     */
    ResultObject updateNoticeType(Map<String, Object> params);

    /**
     * 查询通知类型列表
     *
     * @param params
     * @return
     */
    ResultObject queryNoticeList(Map<String, Object> params);
}
